const { Schema, model } = require('mongoose')

const chatSchema = new Schema({

  username: String,
  touser: {
    type: String,
    default: ''
  },
  msg: String,
  at: String

}, {
  timestamps: true
})

module.exports = model('Chat', chatSchema)
